/**
 * Created by moon on 2016/12/22.
 */
define(["business/services/constant"],function(constant){
	var companyhost = constant.config.BASEURL_USER;// elink_user
	var companyurl = constant.config.CONSTANT_Company;// company
	var selector = constant.config.CONSTANT_REGION_PROVICE; //多选项接口路径
	var userurl = constant.config.CONSTANT_USER;//user
	
	return{
		companylogin:function(requestion) {
			return constant.httpSend(companyhost, companyurl, requestion);
		},
		selectfn:function(requestion) {
			return constant.httpSend(companyhost, selector, requestion);
		},		
		checkfn:function(requestion) {
			return constant.httpSend(companyhost, userurl, requestion);
		},
		getcodeHttpService:function(requestion) {
			return constant.httpSend(companyhost, companyurl, requestion);
		},
	}
});